package com.zjjk.transfer.source.service;

import com.zjjk.transfer.source.entity.SourceRecvRefundOrder;
import com.zjjk.transfer.source.param.SourceRecvRefundOrderPageParam;
import io.geekidea.springbootplus.framework.common.service.BaseService;
import io.geekidea.springbootplus.framework.core.pagination.Paging;

/**
 * 退款记录表 服务类
 *
 * @author xuziyang
 * @since 2021-03-26
 */
public interface SourceRecvRefundOrderService extends BaseService<SourceRecvRefundOrder> {

    /**
     * 保存
     *
     * @param sourceRecvRefundOrder
     * @return
     * @throws Exception
     */
    boolean saveSourceRecvRefundOrder(SourceRecvRefundOrder sourceRecvRefundOrder) throws Exception;

    /**
     * 修改
     *
     * @param sourceRecvRefundOrder
     * @return
     * @throws Exception
     */
    boolean updateSourceRecvRefundOrder(SourceRecvRefundOrder sourceRecvRefundOrder) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteSourceRecvRefundOrder(Long id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param sourceRecvRefundOrderQueryParam
     * @return
     * @throws Exception
     */
    Paging<SourceRecvRefundOrder> getSourceRecvRefundOrderPageList(SourceRecvRefundOrderPageParam sourceRecvRefundOrderPageParam) throws Exception;

}
